home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / LCLINT2.SPK / test / test_b / expect / tests2_2 < prev    next >
Text File  |  1996-08-28  |  3KB  |  85 lines

  1.  
  2. boolops.c: (in function main)
  3. boolops.c:12,3: Assignment of int to Kzam: b = 12
  4.  
  5. Finished LCLint checking --- 1 code error found, as expected
  6.  
  7. mbool.h:1,16: Type implemented as macro: bool
  8.  
  9. Finished LCLint checking --- 1 code error found, as expected
  10.  
  11. break.c: (in function f)
  12. break.c:9,4: Dereference of possibly null pointer x: *x
  13.    break.c:1,24: Storage x may become null
  14.  
  15. Finished LCLint checking --- 1 code error found, as expected
  16.  
  17. bstring.c:4,14: Initial value of s4[0] is type char *, expects char: "hullo"
  18. bstring.c:4,23: Initial value of s4[1] is type char *, expects char: "g'bye"
  19.  
  20. Finished LCLint checking --- 2 code errors found, as expected
  21.  
  22. decl.c:3,21: Structure struct tm declared with fields { int x; }, specified
  23.                 with fields { int tm_sec; int tm_min; int tm_hour;, ... }
  24.    load file ansi.lcd: Specification of struct tm
  25.    decl.c:3,17: Field tm_sec in specified corresponds to x in declaration
  26.    load file ansi.lcd: Specification of tm_sec
  27.  
  28. Finished LCLint checking --- 1 code error found, as expected
  29.  
  30. enumbool.c:1,34: Member of boolean enumerated type definition does not match
  31.                     name set to represent TRUE or FALSE: false
  32. enumbool.c:1,34: Member of boolean enumerated type definition does not match
  33.                     name set to represent TRUE or FALSE: true
  34.  
  35. Finished LCLint checking --- 2 code errors found, as expected
  36.  
  37. Finished LCLint checking --- no code errors found
  38.  
  39. Finished LCLint checking --- no code errors found
  40.  
  41. extension.c:3,1: Parse Error. (Use +gnuextensions to parse code using gcc
  42.     compiler extensions.  Use +trytorecover to force checking to continue after
  43.     a parse error.)
  44. *** Cannot continue.
  45.  
  46. Finished LCLint checking --- no code errors found
  47.  
  48. nestext.c: (in function f)
  49. nestext.c:3,26: Declaration using extern inside function scope: int test()
  50.  
  51. Finished LCLint checking --- 1 code error found, as expected
  52.  
  53. Finished LCLint checking --- no code errors found
  54.  
  55. sizeofarray.c:1,12: Function parameter x declared as manifest array (size
  56.                        constant is meaningless)
  57. sizeofarray.c: (in function f)
  58. sizeofarray.c:5,13: Parameter to sizeof is an array-type function parameter:
  59.                        sizeof((x))
  60. sizeofarray.c:10,16: Return value type size_t does not match declared type int:
  61.                         sizeof((a))
  62.  
  63. Finished LCLint checking --- 3 code errors found, as expected
  64.  
  65. Load library obsolete is in obsolete LCLint library format.  Attempting to
  66. continue anyway, but results may be incorrect.  Rebuild the library with this
  67. version of lclint.
  68. load file obsolete: Library file appears to be corrupted.  Error:
  69.                            usymIdSet_undump: loop: *0 (Datatype)
  70. *** Cannot continue.
  71.  
  72. Load library oldversion is in obsolete LCLint library format (version 2.1 ---
  73. Tue Aug 8 4:45:29 EDT 1996).  Attempting to continue anyway, but results may be
  74. incorrect.  Rebuild the library with this version of lclint.
  75. libraries.c:1: Include file <types> matches the name of a POSIX library, but
  76.     the POSIX library is not being used.  Consider using +posixlib or
  77.     +posixstrictlib to select the POSIX library, or -warnposix to suppress this
  78.     message.
  79.  
  80. Finished LCLint checking --- 1 code error found, as expected
  81.  
  82. Finished LCLint checking --- no code errors found
  83.  
  84. Finished LCLint checking --- no code errors found
  85.